package cate.game.role.pvp.eliterace.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.pvp.eliterace.data.EliteRaceSpec;
import cate.game.pvp.eliterace.util.EliteRaceSpecDeserializer;
import cate.game.role.pvp.eliterace.vo.EliteRaceReportVO;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

import static cate.game.client.msg.id.MsgIdBEliteRace.BET_ROUND_REPORT_RESP;

@NoArgsConstructor
@AllArgsConstructor
@Data
@ClientMsg(title = "精英赛 竞猜回合战报 返回")
public class EliteRaceBetRoundReportResp implements MsgOutput {

    @JsonDeserialize(keyUsing = EliteRaceSpecDeserializer.class)
    public Map<EliteRaceSpec, EliteRaceReportVO> reportMap;

    @Override
    public MsgConfig conf() {
        return BET_ROUND_REPORT_RESP;
    }
}
